package org.slf4j.impl;

import org.slf4j.ILoggerFactory;
import org.slf4j.spi.LoggerFactoryBinder;

import com.db.logging.RaymanLoggerFactory;

public class StaticLoggerBinder implements LoggerFactoryBinder {

	private final static StaticLoggerBinder THIS = new StaticLoggerBinder();
	private static final ILoggerFactory LOGGER_FACTORY = new RaymanLoggerFactory(); 
 
    public static StaticLoggerBinder getSingleton() { 
        return THIS; 
    } 
 
    @Override 
    public ILoggerFactory getLoggerFactory() { 
        return LOGGER_FACTORY;
    } 
 
    @Override 
    public String getLoggerFactoryClassStr() { 
        return "com.db.logging.RaymanLoggerFactory";
    }
}
